package com.link2room.aeriabots.facade.impl;


import com.link2room.aeriabots.facade.IMemberFacadeService;
import com.link2room.aeriabots.feign.mirage.MemberLoginFeignService;
import com.link2room.common.dto.result.base.MemberSessionDto;

import com.link2room.mirage.dto.param.WxLoginParamDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by LN on 2016/9/21.
 */
@Component("memberFacadeService")
public class MemberFacadeServiceImpl implements IMemberFacadeService {
    @Autowired
    private MemberLoginFeignService memberLoginFeignService;
    @Override
    public MemberSessionDto wxLogin(WxLoginParamDto WxLoginParamDto) throws Exception {
        return  memberLoginFeignService.wxLogin(WxLoginParamDto).getResultInfo();
    }
}
